Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: added notification #276

Merged
merged 10 commits into from
Dec 31, 2020
Merged

Conversation

muka
Copy link
Contributor

@muka muka commented Dec 30, 2020

Initial implementation for the notification system. Refers to #50

@commit-lint
Copy link

commit-lint bot commented Dec 30, 2020

Contributors

muka

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@pep8speaks
Copy link

pep8speaks commented Dec 30, 2020

Hello @muka! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 30:65: W291 trailing whitespace

Line 12:1: E302 expected 2 blank lines, found 1
Line 13:29: E231 missing whitespace after ':'
Line 13:53: E231 missing whitespace after ':'
Line 13:74: E231 missing whitespace after ':'
Line 13:80: E501 line too long (90 > 79 characters)
Line 39:69: W291 trailing whitespace
Line 40:29: E131 continuation line unaligned for hanging indent
Line 49:78: E202 whitespace before ')'
Line 67:80: E501 line too long (88 > 79 characters)
Line 82:1: W293 blank line contains whitespace
Line 85:25: W291 trailing whitespace
Line 87:30: W291 trailing whitespace
Line 92:55: W291 trailing whitespace
Line 97:27: E128 continuation line under-indented for visual indent

Line 71:1: W293 blank line contains whitespace
Line 74:42: W291 trailing whitespace
Line 75:80: E501 line too long (94 > 79 characters)
Line 198:80: E501 line too long (99 > 79 characters)

Line 18:19: E231 missing whitespace after ':'
Line 20:5: E301 expected 1 blank line, found 0
Line 33:1: E302 expected 2 blank lines, found 1
Line 40:1: E302 expected 2 blank lines, found 1
Line 48:1: W293 blank line contains whitespace
Line 76:1: E302 expected 2 blank lines, found 1
Line 113:1: E302 expected 2 blank lines, found 1
Line 115:11: E231 missing whitespace after ':'
Line 131:35: E231 missing whitespace after ','

Comment last updated at 2020-12-31 17:34:11 UTC

@codecov
Copy link

codecov bot commented Dec 30, 2020

Codecov Report

Merging #276 (ef46195) into master (abcd853) will decrease coverage by 0.26%.
The diff coverage is 86.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
- Coverage   94.02%   93.76%   -0.27%     
==========================================
  Files          21       22       +1     
  Lines        2010     2084      +74     
==========================================
+ Hits         1890     1954      +64     
- Misses        120      130      +10     
Impacted Files Coverage Δ
src/ambianic/notification.py 83.33% <83.33%> (ø)
src/ambianic/__init__.py 100.00% <100.00%> (ø)
src/ambianic/pipeline/store.py 100.00% <100.00%> (ø)
src/ambianic/server.py 99.07% <100.00%> (ø)

@muka muka marked this pull request as ready for review December 30, 2020 16:47
@muka
Copy link
Contributor Author

muka commented Dec 30, 2020

Maybe not 100% ready yet but time for a first round of review :)

Copy link
Collaborator

@ivelin ivelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good! See a few comments.

config.local.yaml Outdated Show resolved Hide resolved
config.local.yaml Outdated Show resolved Hide resolved
config.yaml Outdated Show resolved Hide resolved
config.yaml Show resolved Hide resolved
src/ambianic/__init__.py Show resolved Hide resolved
src/ambianic/notification.py Show resolved Hide resolved
src/ambianic/notification.py Show resolved Hide resolved
config.yaml Outdated Show resolved Hide resolved
@ivelin
Copy link
Collaborator

ivelin commented Dec 31, 2020

@muka LGTM. I have no further comments. Do you want me to merge now or have more to do on this PR?

@ivelin ivelin added the enhancement New feature or request label Dec 31, 2020
This was linked to issues Dec 31, 2020
@ivelin ivelin removed a link to an issue Dec 31, 2020
6 tasks
@muka
Copy link
Contributor Author

muka commented Dec 31, 2020

We are good to go for me, thanks

@ivelin
Copy link
Collaborator

ivelin commented Dec 31, 2020

Alright. Happy New 2021 PR merge!

@ivelin ivelin merged commit ca1c291 into ambianic:master Dec 31, 2020
@github-actions
Copy link

github-actions bot commented Jan 1, 2021

🎉 This PR is included in version 1.12.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push notification to user
3 participants